package org.jeecg.modules.website.service;


import org.jeecg.modules.website.entity.WebWorkFile;
import org.jeecg.modules.website.entity.WebWorkGuide;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;

import java.util.Collection;
import java.util.List;

/**
 * @Description: 办事指南表
 * @Author: jeecg-boot
 * @Date:   2024-07-09
 * @Version: V1.0
 */
public interface IWebWorkGuideService extends IService<WebWorkGuide> {

	/**
	 * 添加一对多
	 *
	 * @param webWorkGuide
	 * @param webWorkFileList
	 */
	public void saveMain(WebWorkGuide webWorkGuide,List<WebWorkFile> webWorkFileList) ;
	
	/**
	 * 修改一对多
	 *
   * @param webWorkGuide
   * @param webWorkFileList
	 */
	public void updateMain(WebWorkGuide webWorkGuide,List<WebWorkFile> webWorkFileList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	public List<WebWorkGuide> findByCreateTimeRange(String startTime, String endTime);
	
}
